package com.caoxw.Android.CityBus;

import java.util.ArrayList;

public final class ChangeBus {
	public int TotalStations = 0;
	public ArrayList<Integer> intStatus = new ArrayList<Integer>();
	public ArrayList<Integer> Buses = new ArrayList<Integer>();
	public ArrayList<Integer> Stations = new ArrayList<Integer>();
	public ArrayList<Integer> StationsCount = new ArrayList<Integer>();	
	
	public void Add(ChangeBus NewCBS)
	{
		TotalStations += NewCBS.TotalStations;
		for(int i=0;i<NewCBS.Buses.size();i++)
		{
			Buses.add(NewCBS.Buses.get(i));
			intStatus.add(NewCBS.intStatus.get(i));
			Stations.add(NewCBS.Stations.get(i));
			StationsCount.add(NewCBS.StationsCount.get(i));
		}
	}
	public void Clear()
	{
		TotalStations=0;
		Buses.clear();
		Stations.clear();
		StationsCount.clear();
		intStatus.clear();
	}
}
